﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>JskitIWindow.html</title>
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="this is my page">
	 	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<link rel="stylesheet" type="text/css" href="../main.css">
  	   <script src="../../release/jskit.core.js"></script>
	
 	   <script src="../JskitConfig_doc.js"></script>
	</head>
	<body>
		<table border="0" id="Table1">
			<tbody>
				<tr>
					<td class="package">
						JskitIWindow.js
					</td>
				</tr>
				<tr>
					<td class="title">
						Author:
					</td>
				</tr>
				<tr>
					<td class="content">
						AnyRock
					</td>
				</tr>
				<tr>
					<td class="title">
						Initializtion:
					</td>
				</tr>
				<tr>
					<td class="content">
						var win1 = new JskitIWindow(params);
					</td>
				</tr>
				<tr>
					<td class="title">
						Required:
					</td>
				</tr>
				<tr>
					<td class="content">
						core/*
					</td>
				</tr>
				<tr>
					<td class="title">
						Methods:
					</td>
				</tr>
				<tr>
					<td class="content">
						<table border="1" cellspacing="0" class="content_list" id="Table2">
							<tbody>
								<tr bgcolor="#cccccc">
									<td>
										Name
									</td>
									<td>
										Parameters
									</td>
									<td>
										Return
									</td>
									<td>
										Comment
									</td>
								</tr>
								<tr>
									<td>
										setTitle(string rTitle)
									</td>
									<td>
										rTitle:窗体标题
									</td>
									<td></td>
									<td>
										设置窗体标题
									</td>
								</tr>
								<tr>
									<td>
										setContent(string rHTML)
									</td>
									<td>
										rHTML:窗体中显示的内容
									</td>
									<td></td>
									<td>
										设置窗体居中显示
									</td>
								</tr>
								<tr>
									<td>
										setStyle(rParams)
									</td>
									<td>
										rParams:样式串形如："width=100,height=200,left=10,top=10"
									</td>
									<td></td>
									<td>
										目前支持的样式属性：
										<br>width: 窗体宽度,数值
										<br>height: 窗体高度,数值
										<br>left: 窗体x坐标,数值
										<br>top: 窗体y坐标,数值
										<br>scrolling: 是否滚动条,yes|no,true|false
										<br>center: 窗体居中显示,yes|no,true|false
										<br>class: 窗体样式,css串
										<br>titleclass: 标题样式,css串
										<br>bodyclass: 内容样式,css串
									</td>
								</tr>
								<tr>
									<td>
										refresh()
									</td>
									<td>
										
									</td>
									<td></td>
									<td>
										刷新窗体
									</td>
								</tr>
								<tr>
									<td>
										open()
									</td>
									<td>
										
									</td>
									<td></td>
									<td>
										打开/显示窗体
									</td>
								</tr>
								<tr>
									<td>
										minimize()
									</td>
									<td>
										
									</td>
									<td></td>
									<td>
										最小化/隐藏窗体
									</td>
								</tr>
								<tr>
									<td>
										close()
									</td>
									<td>
										
									</td>
									<td></td>
									<td>
										关闭窗体
									</td>
								</tr>
								<tr>
									<td>
										getId()
									</td>
									<td>
										
									</td>
									<td>string</td>
									<td>
										得到窗体ID
									</td>
								</tr>
								<tr>
									<td>
										getContent()
									</td>
									<td>
										
									</td>
									<td></td>
									<td>
										得到窗体内容
									</td>
								</tr>
								<tr>
									<td>
										setZIndex()
									</td>
									<td>
										
									</td>
									<td></td>
									<td>
										设置窗体的zindex值
									</td>
								</tr>
								<tr>
									<td>
										resizeTo()
									</td>
									<td>
										
									</td>
									<td></td>
									<td>
										修改窗体的大小
									</td>
								</tr>
								<tr>
									<td>
										fullScreen()
									</td>
									<td>
										
									</td>
									<td></td>
									<td>
										全屏显示
									</td>
								</tr>
							</tbody>
						</table>
					</td>
				</tr>
			</tbody>
		</table>  
	</body>
</html>
